package com.woniu.commentorder.mapper;

import com.hc.entity.WalletOpr;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

@Mapper
public interface WalletOprMapper {
    @Insert("insert into hc_walletopr (datetime,way,order_id,status,wallet_id) values (#{dateTime},#{way},#{orderId},#{walletId}) ")
    @Options(useGeneratedKeys = true, keyColumn = "id", keyProperty = "id")
    public int addWalletRecord(WalletOpr walletOpr);
}
